﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using Circle.Domain.Entity;
using Circle.Domain.Interface.Service;
using Circle.Domain.Interface.Repository;

namespace Circle.Service
{
    public class PermissionService : BaseCacheCrudService<PermissionOnThread>, IPermissionService
    {

        private readonly IRepository<Permission> _permissionRepository;
       

        ///threadId,  roleId,  permissionName
        private Dictionary<Guid, Dictionary<Guid, Dictionary<string, bool>>> PermissionTickets
        { 
            get
            {
                return null;
            }
        }


        public bool IsPermissionGranted(Guid roleId, string permissionName, Guid? contentThreadId = null)
        {
            throw new NotImplementedException();
        }
    }
}
